gtk3-demo: Update css
authorMatthias Clasen <mclasen@redhat.com>
Sun, 28 Feb 2016 03:39:09 +0000 (22:39 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 28 Feb 2016 03:39:09 +0000 (22:39 -0500)
Clean up any deprecation warnings from the css examples in
gtk3-demo.

demos/gtk-demo/css_shadows.css
demos/gtk-demo/cssview.css
demos/gtk-demo/reset.css

index b66b43e2055bdc1399865ab787a42b5ea70e2bbc..ca7a0416c25a56201744483ec05c6df1a7db49a7 100644 (file)
@@ -29,7 +29,7 @@ button {
 
 button:hover {
   text-shadow: 3px 3px 5px alpha(black, 0.75);
-  icon-shadow: 3px 3px 5px alpha(black, 0.75);
+  -gtk-icon-shadow: 3px 3px 5px alpha(black, 0.75);
   box-shadow: 3px 3px 5px alpha(black, 0.5) inset;
   border: solid 1px alpha(black, 0.75);
 }
@@ -37,7 +37,7 @@ button:hover {
 button:active {
   padding: 11px 9px 9px 11px;
   text-shadow: 1px 1px 2.5px alpha(black, 0.6);
-  icon-shadow: 1px 1px 2.5px alpha(black, 0.6);
+  -gtk-icon-shadow: 1px 1px 2.5px alpha(black, 0.6);
 }
 
 
index 5060c396b435c389705daca9c7c5f1755c556afd..a3675c9c9105c9704e29d294401602f40bff7fda 100644 (file)
   background-color: #4a90d9;
 }
 
-.scrollbar.trough,
+scrollbar trough,
 .scrollbars-junction {
   background-color: alpha(white, 0.80);
 }
 
-.scrollbar.slider {
+scrollbar slider {
   border-width: 3px;
   border-style: solid;
   border-radius: 10px;
   background-color: #999;
 }
 
-.scrollbar.slider:prelight {
+scrollbar slider:hover {
   background-color: #555;
 }
 
-.pane-separator {
+paned separator {
   background-color: alpha(white, 0.80);
   background-image: linear-gradient(transparent, transparent 1px, #999 1px, #999 4px, transparent 4px);
   background-size: 40px auto;
@@ -36,6 +36,6 @@
   background-position: center;
 }
 
-.pane-separator:prelight {
+paned separator:hover {
   background-image: linear-gradient(transparent, transparent 1px, #555 1px, #555 4px, transparent 4px);
 }
index 60410e4222e09bdcf17ed4c487ae191d7d2c7e64..7af3e7f28f89338443739e2b63cdd950eeb05415 100644 (file)
@@ -7,60 +7,5 @@
  */
 
 * {
-  color: inherit;
-  font-size: inherit;
-  background-color: initial;
-  font-family: inherit;
-  font-style: inherit;
-  font-variant: inherit;
-  font-weight: inherit;
-  text-shadow: inherit;
-  icon-shadow: inherit;
-  box-shadow: initial;
-  margin-top: initial;
-  margin-left: initial;
-  margin-bottom: initial;
-  margin-right: initial;
-  padding-top: initial;
-  padding-left: initial;
-  padding-bottom: initial;
-  padding-right: initial;
-  border-top-style: initial;
-  border-top-width: initial;
-  border-left-style: initial;
-  border-left-width: initial;
-  border-bottom-style: initial;
-  border-bottom-width: initial;
-  border-right-style: initial;
-  border-right-width: initial;
-  border-top-left-radius: initial;
-  border-top-right-radius: initial;
-  border-bottom-right-radius: initial;
-  border-bottom-left-radius: initial;
-  outline-style: initial;
-  outline-width: initial;
-  outline-offset: initial;
-  background-clip: initial;
-  background-origin: initial;
-  background-size: initial;
-  background-position: initial;
-  border-top-color: initial;
-  border-right-color: initial;
-  border-bottom-color: initial;
-  border-left-color: initial;
-  outline-color:  initial;
-  background-repeat: initial;
-  background-image: initial;
-  border-image-source: initial;
-  border-image-repeat: initial;
-  border-image-slice: initial;
-  border-image-width: initial;
-  transition-property: initial;
-  transition-duration: initial;
-  transition-timing-function: initial;
-  transition-delay: initial;
-  engine: initial;
-  gtk-key-bindings: initial;
-
-  -GtkNotebook-initial-gap: 0;
+  all: unset;
 }